package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
    * 机构分校表
    */
@Data
@TableName(value = "org_organization")
public class OrgOrganization {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 机构名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 机构编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 简称
     */
    @TableField(value = "abbreviation")
    private String abbreviation;

    /**
     * 机构类别
     */
    @TableField(value = "type")
    private String type;

    /**
     * 机构标签
     */
    @TableField(value = "tag")
    private String tag;

    /**
     * 身份证号
     */
    @TableField(value = "id_number")
    private String idNumber;

    /**
     * 身份证姓名
     */
    @TableField(value = "id_name")
    private String idName;

    /**
     * 识别号
     */
    @TableField(value = "identifier")
    private String identifier;

    /**
     * 密码
     */
    @TableField(value = "psw")
    private String psw;

    /**
     * 省
     */
    @TableField(value = "province")
    private String province;

    /**
     * 省名
     */
    @TableField(value = "province_name")
    private String provinceName;

    /**
     * 市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 市名
     */
    @TableField(value = "city_name")
    private String cityName;

    /**
     * 区
     */
    @TableField(value = "area")
    private String area;

    /**
     * 区名
     */
    @TableField(value = "area_name")
    private String areaName;

    /**
     * 详细地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private String longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private String latitude;

    /**
     * 电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 区号
     */
    @TableField(value = "area_code")
    private String areaCode;

    /**
     * 固话
     */
    @TableField(value = "telephone")
    private String telephone;

    /**
     * 简介
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * logo
     */
    @TableField(value = "logo")
    private String logo;

    /**
     * 身份证正面
     */
    @TableField(value = "identity_card_front")
    private String identityCardFront;

    /**
     * 身份证背面
     */
    @TableField(value = "identity_card_back")
    private String identityCardBack;

    /**
     * 营业执照
     */
    @TableField(value = "business_license")
    private String businessLicense;

    /**
     * 登记证书
     */
    @TableField(value = "registration")
    private String registration;

    /**
     * 状态(0:启用;1:禁用)
     */
    @TableField(value = "status")
    private String status;

    /**
     * 在线陪练(0:禁用;1:开通)
     */
    @TableField(value = "accompany")
    private String accompany;

    /**
     * 创建者
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改者
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 单驱陪练数量
     */
    @TableField(value = "twenty_five")
    private Integer twentyFive;

    /**
     * 双驱陪练数量
     */
    @TableField(value = "fifty")
    private Integer fifty;

    /**
     * 单驱陪练可拍数量
     */
    @TableField(value = "twenty_five_can")
    private Integer twentyFiveCan;

    /**
     * 双驱陪练可拍数量
     */
    @TableField(value = "fifty_can")
    private Integer fiftyCan;

    /**
     * 钱包余额
     */
    @TableField(value = "surplus")
    private BigDecimal surplus;

    /**
     * 优惠额
     */
    @TableField(value = "preferential")
    private BigDecimal preferential;

	/**
	 * 在线课可用时长
	 */
	@TableField(value = "online_course_avail")
	private Integer onlineCourseAvail;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_CODE = "code";

    public static final String COL_ABBREVIATION = "abbreviation";

    public static final String COL_TYPE = "type";

    public static final String COL_TAG = "tag";

    public static final String COL_ID_NUMBER = "id_number";

    public static final String COL_ID_NAME = "id_name";

    public static final String COL_IDENTIFIER = "identifier";

    public static final String COL_PSW = "psw";

    public static final String COL_PROVINCE = "province";

    public static final String COL_PROVINCE_NAME = "province_name";

    public static final String COL_CITY = "city";

    public static final String COL_CITY_NAME = "city_name";

    public static final String COL_AREA = "area";

    public static final String COL_AREA_NAME = "area_name";

    public static final String COL_ADDRESS = "address";

    public static final String COL_LONGITUDE = "longitude";

    public static final String COL_LATITUDE = "latitude";

    public static final String COL_PHONE = "phone";

    public static final String COL_AREA_CODE = "area_code";

    public static final String COL_TELEPHONE = "telephone";

    public static final String COL_INTRODUCE = "introduce";

    public static final String COL_LOGO = "logo";

    public static final String COL_IDENTITY_CARD_FRONT = "identity_card_front";

    public static final String COL_IDENTITY_CARD_BACK = "identity_card_back";

    public static final String COL_BUSINESS_LICENSE = "business_license";

    public static final String COL_REGISTRATION = "registration";

    public static final String COL_STATUS = "status";

    public static final String COL_ACCOMPANY = "accompany";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_TWENTY_FIVE = "twenty_five";

    public static final String COL_FIFTY = "fifty";

    public static final String COL_TWENTY_FIVE_CAN = "twenty_five_can";

    public static final String COL_FIFTY_CAN = "fifty_can";

    public static final String COL_SURPLUS = "surplus";

    public static final String COL_PREFERENTIAL = "preferential";
}